<?php get_instance()->view('common/header');?>
<body>
<div class="saixuan saixuanfix threesai">
    <a href="<?php echo getUrl('user/collection?type=1')?>"  >商家</a>
    <a href="javascript:;" class="actived">商品</a>
    <a href="<?php echo getUrl('user/collection?type=3')?>">便民服务</a>
    <div class="after"></div>
</div>
<?php if (!empty($list)): foreach ($list as $k => $v):?>
    <a href="<?php echo getUrl('product/info?product_id='.$v['id'].'&merchant_id='.$v['merchant_id'])?>">
        <div class="ddstacte">
            <div class="itemmodel">
                <div class="hengleft">
                    <div class="item-left">
                        <div class="item-img oh"><img src="<?php echo $v['icon']['xs']?>" alt=""></div>
                    </div>
                    <div class="item-right">
                        <div class="mltitle mb10"><?php echo $v['name']?></div>
                        <div class="heng vCenter">
                            <p class="f08 cor6">销售：<?php echo $v['sale_quantity']?></p>
                            <span class="f12 hongzi cor6"><b class="f07">¥</b><?php echo $v['goods_price']?></span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </a>
<?php endforeach; else:?>
    <div class="statebox chuizhi jdjz" style="flex: 1;height: 100%;">
        <img class="stateimgda mb5" src="<?php echo $this->staticUrl?>img/default/1.png" alt="">
        <span class="f09 cor9 tc mb20">你还没有收藏商品哦～去逛逛吧！</span>
        <a href="" class="daborbtnPub mb10 f12">去逛逛</a>
    </div>
<?php endif;?>
<div class="mask"></div>
</body>
<script src="<?php echo $this->staticUrl?>js/base.js"></script>
</html>